5 6
0 0 1
0 1 7
1 2 2
1 3 8
2 1 -1
2 3 5